package com.ttn.user;

import org.springframework.binding.message.MessageBuilder;
import org.springframework.binding.message.MessageContext;
import org.springframework.binding.validation.ValidationContext;
import org.springframework.stereotype.Component;

import com.ttn.entities.Connection;

@Component
public class ConnectionValidator  {
	
	

	 public void validateRegistrationForm(Connection connection, ValidationContext context) {		
		 connection.getPrice();
	}

}
